package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 产品表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "goods")
public class Goods implements Serializable {
    /**
     * 产品id
     */
    @TableId(value = "goods_no", type = IdType.INPUT)
    private Integer goodsNo;

    /**
     * 产品名称
     */
    @TableField(value = "goods_name")
    private String goodsName;

    /**
     * 产品类型
     */
    @TableField(value = "goods_type")
    private Integer goodsType;

    /**
     * 产品类别id
     */
    @TableField(value = "goods_category_id")
    private Integer goodsCategoryId;

    /**
     * 产品单位
     */
    @TableField(value = "goods_unit")
    private Integer goodsUnit;

    /**
     * 产品品牌
     */
    @TableField(value = "goods_brand")
    private Integer goodsBrand;

    /**
     * 产地
     */
    @TableField(value = "goods_origin")
    private String goodsOrigin;

    /**
     * 产品运输方式
     */
    @TableField(value = "goods_transport_type")
    private Integer goodsTransportType;

    /**
     * 产品长度
     */
    @TableField(value = "goods_long")
    private Integer goodsLong;

    /**
     * 产品宽度
     */
    @TableField(value = "goods_width")
    private Integer goodsWidth;

    /**
     * 产品高度
     */
    @TableField(value = "goods_high")
    private Integer goodsHigh;

    /**
     * 产品颜色
     */
    @TableField(value = "goods_colour")
    private String goodsColour;

    /**
     * 产品设计师
     */
    @TableField(value = "goods_designer")
    private String goodsDesigner;

    /**
     * 产品标签
     */
    @TableField(value = "goods_title")
    private String goodsTitle;

    /**
     * 产品上下架（0是下架，1是上架）
     */
    @TableField(value = "goods_state")
    private Integer goodsState;

    /**
     * 产品备货天数
     */
    @TableField(value = "goods_stockday")
    private Integer goodsStockday;

    /**
     * 产品生效日期
     */
    @TableField(value = "goods_day")
    private Date goodsDay;

    /**
     * 仓库id
     */
    @TableField(value = "store_id")
    private Integer storeId;

    /**
     * 附件id
     */
    @TableField(value = "file_id")
    private Integer fileId;

    /**
     * 产品描述
     */
    @TableField(value = "goods_notes")
    private String goodsNotes;

    /**
     * 最低库存数量
     */
    @TableField(value = "store_minsum")
    private Double storeMinsum;

    /**
     * 安全库存数量
     */
    @TableField(value = "store_securesum")
    private Double storeSecuresum;

    /**
     * 最高库存数量
     */
    @TableField(value = "store_maxsum")
    private Double storeMaxsum;

    /**
     * 创建时间
     */
    @TableField(value = "goods_create_time")
    private Date goodsCreateTime;

    private static final long serialVersionUID = 1L;
}